<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="com.taobao.wolfwolf.hibernate.pojo.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>店铺信誉</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style type="text/css">
		<!--
			.aa {
				font-family: Arial, Helvetica, sans-serif;
				font-size: 14px;
				border: 2px solid #6cf;
				border-collapse:collapse;
				width: 650px;
			}
			 .aa td {
			 	border: 1px solid #6cf;
				text-align: center;
				padding-top: 4px;
				padding-bottom: 4px;
				padding-left: 10px;
				padding-right: 10px;
			 }
		-->
	</style>

  </head>
  
  <body>
  	<h1 align='center'>店铺信誉</h1>
  	<a href='index.jsp'>返回主页</a>
  	<table class='aa' align='center'>
  		<tr>
  			<td>ID</td>
  			<td>信誉</td>
  			<td>店铺收藏</td>
  			<td>宝贝数量</td>
  			<td>更新日期</td>
  			<td>${nextLevelText}</td>
  		</tr>
  		<c:forEach var="shopper" items="${shoppers}">
  			<tr>
  				<td>${shopper.id}</td>
  				<td>${shopper.credit}</td>
  				<td>${shopper.favour}</td>
  				<td>${shopper.quantity}</td>
  				<td>${shopper.date}</td>
  				<td>${nextLevelVal - shopper.credit}</td>
  			</tr>
  		</c:forEach>
  		
  		
    </table>
  </body>
</html>
